using System;

namespace Core.Scene
{
    public record SceneInfo(string MainScene, string SubScene)
    {
        public virtual bool Equals(SceneInfo other)
        {
            return other != null && MainScene == other.MainScene && this.SubScene == other.SubScene;
        }

        public override int GetHashCode()
        {
            return HashCode.Combine(MainScene, SubScene);
        }
    }
}